package com.trump.baiduim.dao;

import com.trump.baiduim.model.Department;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentDao {
    int deleteByPrimaryKey(Long departmentId);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long departmentId);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
}